﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Bot.Domain.Enum;
using Comm100.Domain.Entity;
namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_Entity")]
    public class Entity
    {
        [Key]             
        public Guid Id { get; set; }
        public Guid BotId { get; set; }
        public EnumEntityType Type { get; set; }
        public string Name { get; set; }
        public bool IsDeleted { get; set; }
        public string MappingToDialogflowId { get; set; }
        [NotMapped]
        public virtual ICollection<EntityKeyword> Keywords { get; set; }

    }
}
